package com.mlnx.work.enums;

import com.mlnx.common.enums.BaseCodeEnum;

import io.swagger.annotations.ApiModel;

/**
 * Created by amanda.shan on 2020/12/29.
 */
@ApiModel("账户审核状态")
public enum AccountStatusEnum implements BaseCodeEnum<Integer> {

    NOT(0, "未审核"), SUCESS(1, "审核通过"),
    FAIL(2, "审核失败")
    ;

    private Integer code;

    private String message;

    AccountStatusEnum(Integer code, String message) {
        this.code = code;
        this.message = message;
    }

    @Override
    public Integer getValue() {
        return code;
    }
}